package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author mby
 * @version 1.0.0
 * @ClassName RunningReportRequest.java
 * @Description
 * @createTime 2024年03月11日
 */
@Data
@ApiModel("运行报告管理请求数据")
public class RunningReportRequest {

    @ApiModelProperty(value = "报告日期", required = true)
    @NotBlank(message = "报告日期不能为空")
    private String reportDate;

    @ApiModelProperty(value = "报告内容类型 NULL-全部，0-有报警，1-无报警,正常运行，2-有故障，3-有离线")
    private Integer reportContentType;

    @ApiModelProperty(value = "报警处理状态 0-报警已处理、1-存在报警未处理、2-故障已处理、3-存在故障未处理")
    private Integer alarmHandleStatus;

    @ApiModelProperty(value = "报告审核状态 0-待审核 1-已审核 2-无需审核")
    private List<Integer> checkStatus;

    @ApiModelProperty(value = "用户类型  民用，商用，其他。未知等")
    private String custType;

    @ApiModelProperty(value = "设备类型 home_gas_detector-家用燃气报警器、Independent_gas_detector-独立式可燃气体探测器，Gas_alarm_controller-气体报警控制器")
    private List<String> deviceType;

    @ApiModelProperty(value = "所属组织")
    private String spId;

    private Integer page = 1;

    private Integer pageSize = 10;

    @ApiModelProperty(value = "户号")
    private String subsCode;

    @ApiModelProperty(value = "户名")
    private String custName;

    @ApiModelProperty(value = "户址")
    private String custAddress;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "设备号")
    private String imei;

    @ApiModelProperty("户主手机号")
    private String custPhone;

    @ApiModelProperty("通讯方式")
    private String communicationMode;
}
